package com.heima.article.service;

import com.heima.model.article.dto.CollectionBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface CollectionService  {

    /**
     * 收藏功能
     * @param dto
     * @return
     */
    @PostMapping()
    public ResponseResult Collection(@RequestBody CollectionBehaviorDto dto);
}
